import request from '@/utils/request'
export function monthlyList(data) { //月报-列表
    return request({
        url: '/project-management/api/project/report/page',
        method: 'POST',
        data,
    })
}
export function monthlyAdd(data) { //月报-添加
    return request({
        url: '/project-management/api/project/report',
        method: 'POST',
        data,
    })
}
export function monthlyDetails(id) { //月报-详情
    return request({
        url: '/project-management/api/project/report/' + id,
        method: 'GET',
    })
}
//原 del
export function monthlyDelete(id) { //月报-删除
    return request({
        url: '/project-management/api/project/report/del/' + id,
        method: 'get',
    })
}
//原 put
export function monthlyEdit(data) { //月报-编辑
    return request({
        url: '/project-management/api/project/report/put',
        method: 'post',
        data,
    })
}
export function monthlyAccumulative(data) { //月报-累计合计
    return request({
        url: '/project-management/api/project/report/calculation',
        method: 'post',
        data,
    })
}
export function monthlyExport(id) { //月报-导出
    return request({
        url: '/project-management/api/project/report/export/'+id,
        responseType: 'arraybuffer',
        method: 'GET',
    })
}
